import 'package:flutter/material.dart';

import '../constants.dart' show AppColors;

class Conversation {
  const Conversation({
    @required this.avatar,
    @required this.title,
    this.titleColor : AppColors.TitleColor,
    this.des,
    @required this.updataAt,
    this.isMute : false,
    this.unreadMsgCount : 0,
    this.displayDot : false
  }) : assert(avatar != null),
      assert(title != null),
      assert(updataAt != null);

  final String avatar;
  final String title;
  final int titleColor;
  final String des;
  final String updataAt;
  final bool isMute;
  final int unreadMsgCount;
  final bool displayDot;
}

const List<Conversation> mockConversations = [
  const Conversation(
    avatar: "assets/images/clown.jpg",
    title: "小丑女1",
    des: '约吗',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女2",
    des: '安全期',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女3",
    des: '不戴套',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown.jpg",
    title: "小丑女1",
    des: '约吗',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女2",
    des: '安全期',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女3",
    des: '不戴套',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown.jpg",
    title: "小丑女1",
    des: '约吗',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女2",
    des: '安全期',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女3",
    des: '不戴套',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown.jpg",
    title: "小丑女1",
    des: '约吗',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女2",
    des: '安全期',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女3",
    des: '不戴套',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown.jpg",
    title: "小丑女1",
    des: '约吗',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女2",
    des: '安全期',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女3",
    des: '不戴套',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown.jpg",
    title: "小丑女1",
    des: '约吗',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女2",
    des: '安全期',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女3",
    des: '不戴套',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女4",
    des: '',
    updataAt: '19:22'
  ),
  const Conversation(
    avatar: "assets/images/clown2.jpg",
    title: "小丑女5",
    des: '',
    updataAt: '19:22'
  )
];


